<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: asus
  Date: 2018/2/6
  Time: 14:15
  To change this template use File | Settings | File Templates.
--%>
<%@page pageEncoding="UTF-8" %>
<!doctype html>
<html lang="zh-cmn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title></title>
    <base href="${pageContext.request.contextPath}/"/>
    <link rel="stylesheet" href="static/css/bootstrap.css">
</head>
<body>
    <div class="container" style="width: 50%; margin-top: 80px; border: 1px solid #CCC; border-radius: 5px;">
        <h3 class="text-center" style="padding-top: 20px;">电力巡检系统</h3>
        <form action="/sys/login" method="post" style="padding: 20px 80px 80px 80px;">
            <c:if test="${param.err==1}">
                <div class="form-group">
                    <span class="alert alert-warning">用户名或密码错误！</span>
                </div>
            </c:if>
            <div class="form-group">
                <label for="" class="control-label">用户名：</label>
                <div class="input-group">
                    <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span><input type="text" name="userCode" class="form-control" value="root">
                </div>
            </div>
            <div class="form-group">
                <label for="" class="control-label">密码：</label>
                <div class="input-group">
                    <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span><input type="password" name="userPassword" class="form-control" value="root">
                </div>
            </div>
            <div class="form-group">
               <button class="btn btn-primary pull-right" type="submit">
                   <i class="glyphicon glyphicon-log-in">&nbsp;登录</i>
               </button>
            </div>
        </form>
    </div>
</body>
</html>
